package factory_method_pattern.v1;

/**
 * 相减操作类
 * @author ricejson
 */
public class SubOperation extends Operation {
    @Override
    public double getResult() {
        return numA - numB;
    }
}
